<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@	page import="java.util.ArrayList"%>
<%@	page import="kau.dao.*"%>
<%@	page import="kau.vo.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>deleteCust</title>


</head>
<body>
	<center>

		<form class="form-horizontal"
			method="get" style="margin-left: 60px; margin-top: 80px">
			<table class="table table-striped">
				<tr class="success">

					<td>ID</td>
					<td>PASSWORD</td>
					<td>이름</td>
					<td>주민번호</td>
					<td>Email</td>
					<td>핸드폰 번호</td>
					<td>부모님 핸드폰 번호</td>
					<td>비밀번호 찾기 질문</td>
					<td>비밀번호 찾기 답</td>
					<td>가입 일자</td>
					<td>등급</td>
				</tr>


				<%
				ArrayList<Customer> custList =(ArrayList) request.getAttribute("custList");
				for(int i=0;i<custList.size();i++) {%>
				<tr>
				
					
					<td><a href="delete.cust?
					custId=<%=custList.get(i).getCustId()%>
					&password=<%=custList.get(i).getPassword()%>">
					
					<%=custList.get(i).getCustId() %></a></td>
						<td><%=custList.get(i).getPassword()%></td>
						<td><%=custList.get(i).getCustName()%></td>
						<td><%=custList.get(i).getCustSsn()%></td>
						<td><%=custList.get(i).getCustEmail() %></td>
						<td><%=custList.get(i).getPhoneNumber()%></td>
						<td><%=custList.get(i).getParentPhoneNumber() %></td>
						<td><%=custList.get(i).getPasswordQuestion() %></td>
						<td><%=custList.get(i).getPasswordAnswer() %></td>
						<td><%=custList.get(i).getJoinDate() %></td>
						<td><%=custList.get(i).getCustLevel() %></td>

					</tr>	
					<% }%>

			</table>
			<a class="btn btn-default" href="index.jsp?contentMenu=/admin/menuPage.jsp">이전화면으로</a>
		</form>


	</center>

	<script src="http://code.jquery.com/jquery.js"></script>
	<script src="bootstrap/js/bootstrap.min.js"></script>
	<script src="bootstrap/js/respond.min.js"></script>
</body>
</html>